//
//  PPHTTPRequest.h
//  PPNetworkHelper
//
//  Created by AndyPang on 2017/4/10.
//  Copyright © 2017年 AndyPang. All rights reserved.
//

#import <Foundation/Foundation.h>

/*
 以下Block的参数你根据自己项目中的需求来指定, 这里仅仅是一个演示的例子
 */

/**
 请求成功的block
  @param response 响应体数据
 */
typedef void(^PPRequestSuccess)(id response, BOOL success);
/**
 请求失败的block
 
 @param error 扩展信息
 */
typedef void(^PPRequestFailure)(NSError *error);


@interface PPHTTPRequest : NSObject

#pragma mark - 登陆退出
//登录
+ (void)requestPostLogins:(PPRequestSuccess)result params:(NSDictionary *)params;
//注册
+ (void)requestPostRegister:(PPRequestSuccess)result params:(NSDictionary *)params;
//2.3、推广注册 - 认证企业信息及创建展位
+ (void)requestPostBH_User_setUserBooth:(PPRequestSuccess)result params:(NSDictionary *)params;
+ (void)requestPostBH_User_setUserBooth:(PPRequestSuccess)result params:(NSDictionary *)params imagesArray:(NSArray *)imagesArray names:(NSArray *)names;

//获取验证码
+ (void)requestPostSendCode:(PPRequestSuccess)result params:(NSDictionary *)params;
//找回密码
+ (void)requestPostFindPassword:(PPRequestSuccess)result params:(NSDictionary *)params;
////退出登录
//+ (void)requestPostLogout:(PPRequestSuccess)result params:(NSDictionary *)params;

#pragma mark - 首页
//根据城市ID获取展馆列表
 + (void)requestPostBH_Exhibition_getExhibitionHallByCityId:(PPRequestSuccess)result params:(NSDictionary *)params;
//根据展馆ID获取展会列表
 + (void)requestPostBH_Exhibition_getExhibitionByHallId:(PPRequestSuccess)result params:(NSDictionary *)params;
//获取展会信息列表（各种参数）
 + (void)requestPostBH_Exhibition_getExhibitionList:(PPRequestSuccess)result params:(NSDictionary *)params;
//根据展会ID获取布局列表
 + (void)requestPostBH_Exhibition_getExhibitionLayout:(PPRequestSuccess)result params:(NSDictionary *)params;
//根据布局ID获取企业列表
 + (void)requestPostBH_Exhibition_getCompanyByLayoutId:(PPRequestSuccess)result params:(NSDictionary *)params;
//根据展位ID获取企业详细信息
 + (void)requestPostBH_Exhibition_getCompanyInfoByBoothId:(PPRequestSuccess)result params:(NSDictionary *)params;
//根据展位ID获取企业轮播图片
 + (void)requestPostBH_Exhibition_getPicByBoothId:(PPRequestSuccess)result params:(NSDictionary *)params;
//根据企业ID获取产品列表
 + (void)requestPostBH_Exhibition_getProductByCompanyId:(PPRequestSuccess)result params:(NSDictionary *)params;

#pragma mark - 展会

#pragma mark - 企业
//获取企业列表
+ (void)requestPostBH_Company_getCompanyList:(PPRequestSuccess)result params:(NSDictionary *)params;

#pragma mark - 用户发布及管理操作
//获取用户展位列表
+ (void)requestPostBH_User_getUserBoothList:(PPRequestSuccess)result params:(NSDictionary *)params;
//5.2、企业产品管理
+ (void)requestPostBH_User_getCompanyProduct:(PPRequestSuccess)result params:(NSDictionary *)params;
//添加产品
+ (void)requestPostBH_User_addProduct:(PPRequestSuccess)result params:(NSDictionary *)params;
+ (void)requestPostBH_User_addProduct:(PPRequestSuccess)result params:(NSDictionary *)params images:(UIImage *)image;
//编辑产品
+ (void)requestPostBH_User_editProduct:(PPRequestSuccess)result params:(NSDictionary *)params;
+ (void)requestPostBH_User_editProduct:(PPRequestSuccess)result params:(NSDictionary *)params images:(UIImage *)image;
//删除产品
+ (void)requestPostBH_User_delProduct:(PPRequestSuccess)result params:(NSDictionary *)params;
//企业图片管理
+ (void)requestPostBH_User_getCompanyPic:(PPRequestSuccess)result params:(NSDictionary *)params;
//添加企业图片
+ (void)requestPostBH_User_addCompanyPic:(PPRequestSuccess)result params:(NSDictionary *)params;
+ (void)requestPostBH_User_addCompanyPic:(PPRequestSuccess)result params:(NSDictionary *)params images:(UIImage *)image;
//删除企业图片
+ (void)requestPostBH_User_delCompanyPic:(PPRequestSuccess)result params:(NSDictionary *)params;
//编辑企业
+ (void)requestPostBH_User_editCompany:(PPRequestSuccess)result params:(NSDictionary *)params;

#pragma mark - 通用查询
//根据城市名称换取城市ID
+ (void)requestPostBH_Region_getRegionId:(PPRequestSuccess)result params:(NSDictionary *)params;
//获取城市列表
+ (void)requestPostBH_RegiongetAllCityes:(PPRequestSuccess)result params:(NSDictionary *)params;
//获取行业分类
+ (void)requestPostBH_Company_getTradeList:(PPRequestSuccess)result params:(NSDictionary *)params;
//获取有展馆的地区
+ (void)requestPostBH_Register_getCitys:(PPRequestSuccess)result params:(NSDictionary *)params;

#pragma mark - 首页轮播图
//获取首页轮播图列表
+ (void)requestPostBH_Ads_getSowing:(PPRequestSuccess)result params:(NSDictionary *)params;


#pragma mark - 上传图片
+ (void)requestUploadPicMobile:(PPRequestSuccess)result params:(NSArray *)images;

#pragma mark - 注册用户统计
//系统游客与展商数量统计系
+ (void)requestPostBH_User_getSysCount:(PPRequestSuccess)result params:(NSDictionary *)params;

#pragma mark - 访问足迹
//添加访问足迹
+ (void)requestPostBH_Exhibition_addUserFootPrint:(PPRequestSuccess)result params:(NSDictionary *)params;
//我的访问记录
+ (void)requestPostBH_Exhibition_myFootPrint:(PPRequestSuccess)result params:(NSDictionary *)params;
//谁看过我的展位
+ (void)requestPostBH_Exhibition_myBoothVisitList:(PPRequestSuccess)result params:(NSDictionary *)params;

#pragma mark - 根据环信账号查询用户基本资料
//获取首页轮播图列表
+ (void)requestPostBH_User_getUserInfoByHxId:(PPRequestSuccess)result params:(NSDictionary *)params;

#pragma mark - 联系官方
//联系官方
+ (void)requestPostBH_Ads_getKefuNumber:(PPRequestSuccess)result params:(NSDictionary *)params;
//+ (void)requestUploadUserImg:(PPRequestSuccess)result params:(NSArray *)images;


@end
